﻿namespace com.binance.client.model.trade
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class MyTrade
	{

		private bool? isBuyer;

		private decimal commission;

		private string commissionAsset;

		private long? counterPartyId;

		private bool? isMaker;

		private long? orderId;

		private decimal price;

		private decimal qty;

		private decimal quoteQty;

		private decimal realizedPnl;

		private string side;

		private string positionSide;

		private string symbol;

		private long? time;

		public virtual bool? IsBuyer
		{
			get
			{
				return isBuyer;
			}
			set
			{
				this.isBuyer = value;
			}
		}


		public virtual decimal Commission
		{
			get
			{
				return commission;
			}
			set
			{
				this.commission = value;
			}
		}


		public virtual string CommissionAsset
		{
			get
			{
				return commissionAsset;
			}
			set
			{
				this.commissionAsset = value;
			}
		}


		public virtual long? CounterPartyId
		{
			get
			{
				return counterPartyId;
			}
			set
			{
				this.counterPartyId = value;
			}
		}


		public virtual bool? IsMaker
		{
			get
			{
				return isMaker;
			}
			set
			{
				this.isMaker = value;
			}
		}


		public virtual long? OrderId
		{
			get
			{
				return orderId;
			}
			set
			{
				this.orderId = value;
			}
		}


		public virtual decimal Price
		{
			get
			{
				return price;
			}
			set
			{
				this.price = value;
			}
		}


		public virtual decimal Qty
		{
			get
			{
				return qty;
			}
			set
			{
				this.qty = value;
			}
		}


		public virtual decimal QuoteQty
		{
			get
			{
				return quoteQty;
			}
			set
			{
				this.quoteQty = value;
			}
		}


		public virtual decimal RealizedPnl
		{
			get
			{
				return realizedPnl;
			}
			set
			{
				this.realizedPnl = value;
			}
		}


		public virtual string Side
		{
			get
			{
				return side;
			}
			set
			{
				this.side = value;
			}
		}


		public virtual string PositionSide
		{
			get
			{
				return positionSide;
			}
			set
			{
				this.positionSide = value;
			}
		}


		public virtual string Symbol
		{
			get
			{
				return symbol;
			}
			set
			{
				this.symbol = value;
			}
		}


		public virtual long? Time
		{
			get
			{
				return time;
			}
			set
			{
				this.time = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("isBuyer", isBuyer).append("commission", commission).append("commissionAsset", commissionAsset).append("counterPartyId", counterPartyId).append("isMaker", isMaker).append("orderId", orderId).append("price", price).append("qty", qty).append("quoteQty", quoteQty).append("realizedPnl", realizedPnl).append("side", side).append("positionSide", positionSide).append("symbol", symbol).append("time", time).ToString();
		}
	}

}